 /**
  * SectionBox:模块
  * @type 组件
  * @param myClass
  * @param myTitle 标题内容
  * @param myExtra 表格数据
  * @param children 子元素
*/
import React  from 'react'
import style from './index.less'

import { Card } from 'antd'

const SectionBox=({
	myClass='',
  myTitle='执行记录',
	myExtra=false,
  children
  })=>{

  return(
		<div className={style.root}>
			<section>
				<Card
					className={myClass}
	        title={myTitle}
	        bordered={false}
	        
	        extra={myExtra}>
	          {children}
	      </Card>
			</section>
		</div>
  )
}

SectionBox.propTypes={
	// data
}

export default SectionBox
